package com.example.tse.rbhttpservice.service.moments.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
 * 获取朋友圈帖子详情，分享（标题［有活动显示活动标题、没有显示固定一句话］＋描述［有帖子内容显示帖子内容、没有显示固定一句话］＋图片＋链接），固定一句话后台维护，每次获取数据返回
 * @author wliu
 * edit tse
 */
public class MomentsMomentsGetComments extends RudderResponse{
    
    private String commentId = "";
		
    
    private String memberId = "";
		
    
    private String nickname = "";
		
    
    private String avatar = "";
		
    
    private String content = "";
		
    
    private String createTime = "";
		
    
    private String toNickname = "";
		
	
    /**
     * @return commentId
     */	
    public String getCommentId() { 
	    return this.commentId;
    };
	
	/**
     * @return commentId
     */	
    public void setCommentId(String commentId) { 
        this.commentId = commentId;
    };
    
    /**
     * @return memberId
     */	
    public String getMemberId() { 
	    return this.memberId;
    };
	
	/**
     * @return memberId
     */	
    public void setMemberId(String memberId) { 
        this.memberId = memberId;
    };
    
    /**
     * @return nickname
     */	
    public String getNickname() { 
	    return this.nickname;
    };
	
	/**
     * @return nickname
     */	
    public void setNickname(String nickname) { 
        this.nickname = nickname;
    };
    
    /**
     * @return avatar
     */	
    public String getAvatar() { 
	    return this.avatar;
    };
	
	/**
     * @return avatar
     */	
    public void setAvatar(String avatar) { 
        this.avatar = avatar;
    };
    
    /**
     * @return content
     */	
    public String getContent() { 
	    return this.content;
    };
	
	/**
     * @return content
     */	
    public void setContent(String content) { 
        this.content = content;
    };
    
    /**
     * @return createTime
     */	
    public String getCreateTime() { 
	    return this.createTime;
    };
	
	/**
     * @return createTime
     */	
    public void setCreateTime(String createTime) { 
        this.createTime = createTime;
    };
    
    /**
     * @return toNickname
     */	
    public String getToNickname() { 
	    return this.toNickname;
    };
	
	/**
     * @return toNickname
     */	
    public void setToNickname(String toNickname) { 
        this.toNickname = toNickname;
    };
    
	
        
    public static void filter(MomentsMomentsGetComments moments) {
        if (moments.getCommentId() == null) {
            moments.setCommentId("");
        }
        if (moments.getMemberId() == null) {
            moments.setMemberId("");
        }
        if (moments.getNickname() == null) {
            moments.setNickname("");
        }
        if (moments.getAvatar() == null) {
            moments.setAvatar("");
        }
        if (moments.getContent() == null) {
            moments.setContent("");
        }
        if (moments.getCreateTime() == null) {
            moments.setCreateTime("");
        }
        if (moments.getToNickname() == null) {
            moments.setToNickname("");
        }
    }
}
